#ifndef _LOG_H_
#define _LOG_H_

#include <iostream>
#include <ctime>

#define Notice 1
#define Warning 2
#define Error 3
#define Debug 4

std::string message[] = {
    "Debug",
    "Notice",
    "Error",
    "Warning"};
std::iostream &Log(std::string msg, int level)
{
    std::cout << "|" << (size_t)time(nullptr) << "|" << message[level] < < "|";
    return std::cout;
}

#endif